﻿namespace Models
{
    /// <summary>
    /// 权限
    /// </summary>
    public partial class PermissionModel : BaseModel
    {
        public PermissionModel()
        {
            Children = new List<PermissionModel>();
        }

        /// <summary>
        /// 子节点
        /// </summary>
        public List<PermissionModel> Children { get; set; }

        /// <summary>
        /// 层级
        /// </summary>
        public string Lv { get; set; }

        /// <summary>
        /// 是否有权限
        /// </summary>
        public bool IsPermission { get; set; }
    }
}
